import { createApp } from 'vue'
// import { createPinia } from 'pinia'
import store from "@/stores/index"

import App from './App.vue'
import router from './router'

// import './assets/main.css'
import 'normalize.css' // 重置样式
import "../src/assets/icon/iconfont.css" //引入css字体样式

// 导入vant函数组件-样式，如果需要单独使用函数组件在单文件中import { Toast } from 'vant'按需引入文件。
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'

const app = createApp(App)

// app.use(createPinia())
app.use(store)

app.use(router)

app.mount('#app')
